package cn.harvest.storage.po;

/**
 * InvoiceItem entity. @author MyEclipse Persistence Tools
 */

public class InvoiceItem implements java.io.Serializable {

	// Fields

	private Integer invoiceItemId;
	private Invoice invoice;
	private Merchandise merchandise;
	private Float merchandisePrice;
	private Float merchandiseAmount;
	private Float merchandiseTotal;

	// Constructors

	/** default constructor */
	public InvoiceItem() {
	}

	/** full constructor */
	public InvoiceItem(Invoice invoice, Merchandise merchandise,
			Float merchandisePrice, Float merchandiseAmount,
			Float merchandiseTotal) {
		this.invoice = invoice;
		this.merchandise = merchandise;
		this.merchandisePrice = merchandisePrice;
		this.merchandiseAmount = merchandiseAmount;
		this.merchandiseTotal = merchandiseTotal;
	}

	// Property accessors

	public Integer getInvoiceItemId() {
		return this.invoiceItemId;
	}

	public void setInvoiceItemId(Integer invoiceItemId) {
		this.invoiceItemId = invoiceItemId;
	}

	public Invoice getInvoice() {
		return this.invoice;
	}

	public void setInvoice(Invoice invoice) {
		this.invoice = invoice;
	}

	public Merchandise getMerchandise() {
		return this.merchandise;
	}

	public void setMerchandise(Merchandise merchandise) {
		this.merchandise = merchandise;
	}

	public Float getMerchandisePrice() {
		return this.merchandisePrice;
	}

	public void setMerchandisePrice(Float merchandisePrice) {
		this.merchandisePrice = merchandisePrice;
	}

	public Float getMerchandiseAmount() {
		return this.merchandiseAmount;
	}

	public void setMerchandiseAmount(Float merchandiseAmount) {
		this.merchandiseAmount = merchandiseAmount;
	}

	public Float getMerchandiseTotal() {
		return this.merchandiseTotal;
	}

	public void setMerchandiseTotal(Float merchandiseTotal) {
		this.merchandiseTotal = merchandiseTotal;
	}

}